package com.qingxin.park.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * 农资生产厂商表
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "material_manufacturer")
public class Manufacturer extends com.qingxin.sys.entity.BaseEntity implements
		java.io.Serializable {
	private static final long serialVersionUID = 8369459606220025982L;
	private String manufacturerid;
	private String manufacturerNo;
	private String groupid;
	private String businessNo;
	private String manufacturerName;
	private String corporatePerson;
	private String contactPerson;
	private String phone;
	private String address;
	private String manufacturerLevel;
	private Double lat;
	private Double lng;
	private String postcodes;
	private String productDesc;
	private String productivity;
	private String ccc;
	private String createBy;
	private Date createTime;
	private String updateBy;
	private Date updateTime;
	private String imgurl;
	private String remark;
	
	// Constructors
	public Manufacturer() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Manufacturer(String manufacturerid, String manufacturerName) {
		super();
		this.manufacturerid = manufacturerid;
		this.manufacturerName = manufacturerName;
	}

	public Manufacturer(String manufacturerid, String manufacturerNo,
			String groupid, String businessNo, String manufacturerName,
			String corporatePerson, String contactPerson, String phone,
			String address, String manufacturerLevel, Double lat, Double lng,
			String postcodes, String productDesc, String productivity,
			String ccc, String createBy, Date createTime, String updateBy,
			Date updateTime, String imgurl, String remark) {
		super();
		this.manufacturerid = manufacturerid;
		this.manufacturerNo = manufacturerNo;
		this.groupid = groupid;
		this.businessNo = businessNo;
		this.manufacturerName = manufacturerName;
		this.corporatePerson = corporatePerson;
		this.contactPerson = contactPerson;
		this.phone = phone;
		this.address = address;
		this.manufacturerLevel = manufacturerLevel;
		this.lat = lat;
		this.lng = lng;
		this.postcodes = postcodes;
		this.productDesc = productDesc;
		this.productivity = productivity;
		this.ccc = ccc;
		this.createBy = createBy;
		this.createTime = createTime;
		this.updateBy = updateBy;
		this.updateTime = updateTime;
		this.imgurl = imgurl;
		this.remark = remark;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "manufacturerid", unique = true, nullable = false, length = 32)
	public String getManufacturerid() {
		return manufacturerid;
	}
	public void setManufacturerid(String manufacturerid) {
		this.manufacturerid = manufacturerid;
	}
	
	@Column(name = "manufacturer_no", length = 20)
	public String getManufacturerNo() {
		return manufacturerNo;
	}
	public void setManufacturerNo(String manufacturerNo) {
		this.manufacturerNo = manufacturerNo;
	}
	
	@Column(name = "groupid", length = 32)
	public String getGroupid() {
		return groupid;
	}
	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}
	
	@Column(name = "business_no", length = 30)
	public String getBusinessNo() {
		return businessNo;
	}
	public void setBusinessNo(String businessNo) {
		this.businessNo = businessNo;
	}
	
	@Column(name = "manufacturer_name", length = 20)
	public String getManufacturerName() {
		return manufacturerName;
	}
	public void setManufacturerName(String manufacturerName) {
		this.manufacturerName = manufacturerName;
	}
	
	@Column(name = "corporate_person", length = 20)
	public String getCorporatePerson() {
		return corporatePerson;
	}
	public void setCorporatePerson(String corporatePerson) {
		this.corporatePerson = corporatePerson;
	}
	
	@Column(name = "contact_person", length = 20)
	public String getContactPerson() {
		return contactPerson;
	}
	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}
	
	@Column(name = "phone", length = 20)
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Column(name = "address", length = 200)
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	@Column(name = "manufacturer_level", length = 1)
	public String getManufacturerLevel() {
		return manufacturerLevel;
	}
	public void setManufacturerLevel(String manufacturerLevel) {
		this.manufacturerLevel = manufacturerLevel;
	}
	
	@Column(name = "lat", length = 15)
	public Double getLat() {
		return lat;
	}
	public void setLat(Double lat) {
		this.lat = lat;
	}
	
	@Column(name = "lng", length = 15)
	public Double getLng() {
		return lng;
	}
	public void setLng(Double lng) {
		this.lng = lng;
	}
	
	@Column(name = "postcodes", length = 20)
	public String getPostcodes() {
		return postcodes;
	}
	public void setPostcodes(String postcodes) {
		this.postcodes = postcodes;
	}
	
	@Column(name = "product_desc", length = 200)
	public String getProductDesc() {
		return productDesc;
	}
	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}
	
	@Column(name = "productivity", length = 1)
	public String getProductivity() {
		return productivity;
	}
	public void setProductivity(String productivity) {
		this.productivity = productivity;
	}
	
	@Column(name = "ccc", length = 1)
	public String getCcc() {
		return ccc;
	}
	public void setCcc(String ccc) {
		this.ccc = ccc;
	}
	
	@Column(name = "create_by", length = 32)
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	
	@Column(name = "create_time", length = 23)
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Column(name = "update_by", length = 32)
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	
	@Column(name = "update_time", length = 23)
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "imgurl", length = 100)
	public String getImgurl() {
		return imgurl;
	}

	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}

	@Column(name = "remark", length = 4000)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	

}